import java.math.BigDecimal;

/**
 * @author darkerit
 * @version 1.0
 */
public class Variables {
    public static void main(String[] args)
    {
        System.out.println(0.1+0.2);
        BigDecimal bd1 = new BigDecimal("0.1");
        BigDecimal bd2 = new BigDecimal("0.2");
        System.out.println(bd1.add(bd2));
        float f1 = 123123123f;
        float f2 = f1+1;
        System.out.println(f1);
        System.out.println(f2);
        System.out.println(f1==f2);
    }
}